<?php
	include_once 'isLogin.php';
	
	$title = "网站设置";
	
	$table_name = "explains";
	$sql = $table_name;
	$explains=$commonc->getList($sql,'');
	foreach($explains['result'] as $k=>$v){
		$content[] = array('url'=>'explains.php?id='.$v['id'],'title'=>$v['title']);
	}
	
	$list[] = array("url"=>"set.php?op=info","title"=>"网站信息","hover"=>'1');
	$list[] = array("url"=>"set.php?op=email","title"=>"企业邮箱");
	$list[] = array("url"=>"javascript:;","title"=>"广告管理",
					"content"=>array(
							array("url"=>"adv_list.php?class=index","title"=>"广告列表"),
							array("url"=>"adv_add.php?class=index","title"=>"添加广告"),
					)
			);
	// $list[] = array("url"=>"javascript:;","title"=>"网站说明","content"=>$content);
	// $list[] = array("url"=>"keyword.php","title"=>"字典");
	
	$smarty->assign("title",$title);
	$smarty->assign("list",$list);
	$smarty->display("left.html");
?>